package com.frxuexi.visit

import com.frxuexi.lib_base.entity.VisitBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class VisitIntent:IUiIntent {
    data object getVisits:VisitIntent()

    data class getVisitsByStatus(val status:String):VisitIntent()

    data class getVisitsByName(val name:String):VisitIntent()
    data class getVisitsByPurpose(val purpose:String):VisitIntent()
    data class addVisit(val item:VisitBeanItem):VisitIntent()

    data class upload(val name:String,val path:String):VisitIntent()

    data class getVisitById(val id:Int):VisitIntent()
    data class approveVisit(val id:Int):VisitIntent()
    data class rejectVisit(val id:Int):VisitIntent()
}